package com.mxt.moviedemo.service;


import com.mxt.moviedemo.entity.PageRequest;
import com.mxt.moviedemo.entity.PageResult;
import com.mxt.moviedemo.entity.Reviews;

import java.util.List;

public interface ReviewsService {
    List<Reviews> getReviewsByMovieId(int mmid);

    PageResult<Reviews> getReviewsByPage(PageRequest pageRequest);


    Reviews getReviewsById(int rid);
    List<Reviews> searchReviewsByUid(int uid);
    int addReviews(Reviews reviews);
    boolean updateReviews(Reviews reviews);
    int deleteReviews(int rid);
}